<include file="public@head" />
</head>

<body>
    <include file="public@footer" />
    <script>
    layui.config({
        base: '__TMPL__/public/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['layer', 'index'], function() {
        var layer = layui.layer;
        layer.open({
            title: '同步钩子',
            content: '钩子同步成功!',
            time:3000,
            yes: function(index, layero) {
                history.back(-1);
                layer.close(index);
            },
            cancel: function(index, layero) {
                history.back(-1);
                layer.close(index);
            },
            end:function(){
                history.back(-1);
            }
        });
    });
    </script>
</body>

</html>